package com.hsq.spzx.manager.mapper.user;

import com.hsq.spzx.model.dto.system.SysRoleDto;
import com.hsq.spzx.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hsq
 * @date 2025年06月01日下午8:27
 */
@Mapper
public interface SysRoleMapper {
    List<SysRole> findByPage(SysRoleDto sysRoleDto);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    List<SysRole> finAllRoles();
}
